 <style>
body,html{
  width: 100%;
  height: 100% !important;
  background: url(styles/img/bg.png);
  background-size: 100% 100%;
  
}

 .whole{
  width: 100%;
  height: 100% !important;
      background: url(styles/img/bg.png);
      background-size: 100% 100%;
      min-width: 300px;
    }
    .logo_small{
      /*width: 180px;*/
      margin-top: 20px;
      margin-left: 30px;
    }
    .tcopyright {
        width: 100%;
        margin: 0 auto;
        padding: 8px 0;
        font-size: 12px;
        line-height: 28px;
        text-align: center;
        overflow: hidden;

    }
   .tcopyright .en {
      font-family: Arial;
   }
   .tcopyright a {
         color: #686868;
         text-decoration: none;
   }
   .tcopyright a:hover {
      color: #bd0a01;

      text-decoration: underline;
  }
  .content{
    position: relative;
    height: 350px;
    width: 800px;
    margin: 0px auto;
    /*border:1px solid red;*/
    margin-top: 100px;
    margin-bottom: 20px;
  }
  .logoff{
    width: 350px;
    vertical-align: middle;
    margin-top: 20px;
  }
  .form_div{
    width: 380px;
    box-shadow: 0px 0px 10px gray;
    float: right;
    vertical-align: middle;
  }
  #header_right{
    float: right;
    margin-top: 25px;
    margin-right: 100px;
  }
  #hide_span{
    margin-right: 10px;
  }
  @media only screen and (max-width: 830px){
    .logoff{
      display: none;
    }
    .content{
      width: 100%;
    }
    .form_div{
      margin:auto;
      float: none;
    }
    .logo_small{
      width: 130px;
      margin-top: 25px;

    }
    #header_right{
      margin-right: 30px;
   }
  }
   @media only screen and (max-width: 400px){
    .content{
      width: 100%;
    }
    .form_div{
      margin:auto;
      width:85%;
    }
    .logo_small{
      width: 100px;
      margin-left: 15px;
    }
    #header_right{
      margin-right: 15px;
   }
     #hide_span{
      display: none;
     }
  }
</style>
<div class="whole">
<header>
    <img src="styles/img/logo_small.png" class="logo_small">
    <span id="header_right"> 
       <span id="hide_span" class="hidden-mobile hiddex-xs" style="color: white">物联网时代，需要账号?</span>
       <a class="btn btn-primary" data-ui-sref="admin" class="regist_btn">立即登录</a>
    </span>
    
</header>
    <!-- MAIN CONTENT -->
    <div class="content">
        <img src="styles/img/logoff.png" class="logoff">
       <div class="form_div">
         <form id="smart-form-register" class="smart-form client-form" ng-submit="registPost()">
                        <header>
                            注册<font color="red">{{warning}}</font>
                        </header>

                        <fieldset>
                            <section>
                                <label class="input"> <i class="icon-append fa fa-user"></i>
                                    <input type="text" name="username" placeholder="用户名"
                                    ng-model="regist_data.name">
                                    <b class="tooltip tooltip-bottom-right">请输入用户名</b> </label>
                            </section>

                            <section>
                                <label class="input"> <i class="icon-append fa fa-envelope"></i>
                                    <input type="email" name="email" placeholder="邮箱" 
                                    ng-model="regist_data.email">
                                    <b class="tooltip tooltip-bottom-right">请输入邮箱</b> </label>
                            </section>

                            <section>
                                <label class="input"> <i class="icon-append fa fa-lock"></i>
                                    <input type="password" name="password" placeholder="密码" id="password"  ng-model="regist_data.password">
                                    <b class="tooltip tooltip-bottom-right">不要忘记密码</b> </label>
                            </section>

                            <section>
                                <label class="input" i > <i class="icon-append fa fa-lock"></i>
                                    <input type="password" name="passwordConfirm" id ="passwordConfirm" placeholder="确认密码"  onblur = "check()">
                                    <b class="tooltip tooltip-bottom-right">不要忘记密码</b> </label>
                            </section>
                        </fieldset>

                    
                        <footer>
                            <button type="submit" class="btn btn-primary">
                                注册
                            </button>
                        </footer>
                    </form>
        </div>
    </div>

<div class="tcopyright" >
    <div>
        <a href="http://www.brjzbs.com/" target="_blank" rel="nofollow">关于中达BIM</a> | <a href="http://www.brjzbs.com/about.html" target="_blank" rel="nofollow">App</a> | <a href="" target="_blank" rel="nofollow">服务协议</a> | <a href="http://www.qq.com/privacy.htm" target="_blank" rel="nofollow">隐私政策</a> | <a href="" target="_blank" rel="nofollow">开放平台</a> | <a href="http://www.brjzbs.com/" target="_blank" rel="nofollow">客服中心</a> <a href="http://www.brjzbs.com/map/" target="_blank" rel="nofollow">网站导航</a>
    </div>
    <div class="en">Copyright &copy; 1998 - 2016 brjz. All Rights Reserved</div>
    <div>
        <a href="http://www.brjzbs.com/" target="_blank" rel="nofollow">中达BIM</a> <a href="http://www.brjzbs.com" target="_blank" rel="nofollow">版权所有</a>
    </div>

</div>
</div>

<script type="text/javascript">
function check()
{
if ($("#password").val() != $("#passwordConfirm").val() ){
 	$("#passwordConfirm").before("<b class='tooltip tooltip-bottom-right'>密码不一致</b>");  
// alert("不一致");
return false;
}
return true; 
}
</script>